<!--
In case of queries: mail@shamasis.net
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link rel="StyleSheet" href="ul2dtree/dtree/dtree.css" type="text/css" />
	<script type="text/javascript" src="ul2dtree/dtree/dtree.js"></script>
    <script type="text/javascript" src="ul2dtree/ul2dtree.js"></script>
  </head>
  <body>
    <ul id="mylist">
        <li>my item 1
            <ul>
                <li>my item 1.1</li>
                <li>my item 1.2</li>
            </ul>
        </li>
        <li>my item 2</li>
    </ul>
    <script type="text/javascript">
        var mylist = UL2DTree.parser.root('mylist', 'My List');
        document.write(mylist);
    </script>
  	<p><a href="javascript: mylist.openAll();">open all</a> | <a href="javascript: mylist.closeAll();">close all</a></p>

  </body>
</html>
